//
//  UIView+Normal.m
//  DS_PJ_01
//
//  Created by admin on 16/8/17.
//  Copyright © 2016年 zhiqiyun. All rights reserved.
//

#import "UIView+Normal.h"

@implementation UIView(Normal)

-(void)registerView:(Class)viewClass identifier:(NSString *)identifier
{
    
}

-(void)setCornerRadius:(CGFloat)radius andColor:(UIColor *)color andWidth:(float)width;
{
    [self setCornerRadius:radius];
    [self setRadiusBackgroundColor:color andWidth:width];
}

-(void)setCornerRadius:(CGFloat)radius
{
    [self.layer setCornerRadius:radius];
}


-(void)setRadiusBackgroundColor:(UIColor *)color andWidth:(float)width
{
//    self.backgroundColor = [UIColor clearColor];
    [self.layer setBorderWidth:1];
    [self.layer setBorderColor:color.CGColor];
}


@end
